package com.sinosoft.emplmis.jobless.entity;

import java.util.Date;

import com.sinosoft.framework.core.common.utils.ObjectUtil;

public class JoblessServerEntity {
    private String id; //主键

    private String unemployedId; //外键（失业人员信息表主键）

    private String servicedate; //服务日期

    private String guide; //职业指导

    private String intruduce; //职业介绍

    private String training; //技能培训

    private String jobfair; //参加招聘会

    private String recommend; //介绍工作

    private String applying; //应聘工作

    private String employstate; //是否就业

    private String employdate; //就业日期

    private String status; //就业状态

    private String company; //单位名称

    private String position; //岗位

    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUnemployedId() {
		return unemployedId;
	}

	public void setUnemployedId(String unemployedId) {
		this.unemployedId = unemployedId;
	}

	public String getServicedate() {
		return servicedate;
	}

	public void setServicedate(String servicedate) {
		this.servicedate = servicedate;
	}

	public String getGuide() {
		return guide;
	}

	public void setGuide(String guide) {
		this.guide = guide;
	}

	public String getIntruduce() {
		return intruduce;
	}

	public void setIntruduce(String intruduce) {
		this.intruduce = intruduce;
	}

	public String getTraining() {
		return training;
	}

	public void setTraining(String training) {
		this.training = training;
	}

	public String getJobfair() {
		return jobfair;
	}

	public void setJobfair(String jobfair) {
		this.jobfair = jobfair;
	}

	public String getRecommend() {
		return recommend;
	}

	public void setRecommend(String recommend) {
		this.recommend = recommend;
	}

	public String getApplying() {
		return applying;
	}

	public void setApplying(String applying) {
		this.applying = applying;
	}

	public String getEmploystate() {
		return employstate;
	}

	public void setEmploystate(String employstate) {
		this.employstate = employstate;
	}

	public String getEmploydate() {
		return employdate;
	}

	public void setEmploydate(String employdate) {
		this.employdate = employdate;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	/**
     * dto对象转换为entity
     * @param entity 供精人员信息实体类
     * @param from 供精人员信息dto对象
     */
    public void toEntityData(JoblessServerEntity entity,Object from,String... args)
    {
    	try {
			ObjectUtil.oldToNew(entity, from, args);
		} catch (Exception e) {
			e.printStackTrace();
		}
    }
}